package com.yangwp.doutu.dao;

import com.yangwp.doutu.model.ImageGroup;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ImageGroupDao {

	int insert(ImageGroup imageGroup);
	
	int update(ImageGroup imageGroup);
	
	ImageGroup getIamgeGroupById(Integer id);

    Integer countIamgeGroup(Map<String, Object> params);

    List<ImageGroup> getIamgeGroupList(Map<String, Object> params);

    int rollback(int num);
}